/**
 * 登录api
 * @param {*} body
 * @returns
 */
export const useLoginApi = (body) => {
    return useHttpPost("/login/toLogin",{body})
}


/**
 * 退出登录
 * @param {*} body
 * @returns
 */
export const useLogoutApi = () => {
    return useHttpPost("/login/logout",{})
}
